package org.linuxgears.BouncingBall.gui;

import javax.swing.*;

import org.linuxgears.BouncingBall.model.Ball;
import org.linuxgears.BouncingBall.model.BallController;

/**
 * Created by IntelliJ IDEA.
 * User: grim
 * Date: 7 ��� 2010
 * Time: 23:11:06
 * To change this template use File | Settings | File Templates.
 */
public class BallToolbox extends JPanel {

    private BallController controller;


    public BallToolbox(BallController controller) {
        this.controller = controller;
    }

    public void addBallButton(Ball ball) {
        this.add(new BallToolButton(ball, controller));
    }
}
